package router

import (
	"github.com/gin-gonic/gin"
	"go-gin-test-001/entity/result"
	"net/http"
)

func Hello(context *gin.Context) {
	pName := context.Query("name")
	context.JSON(http.StatusOK, result.SuccessR(pName))
}
